<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <title>修改角色</title>
  <link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
  <link href="/static/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css" rel="stylesheet"/>
  <link rel="stylesheet" href="/static/include/css/style.css">
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
  <form class="form-horizontal m" id="editForm" action="/admin/role">
    <input type="hidden" id="roleId" name="roleId" field="roleId"/>
    <input type="hidden" name="oper" id="oper" field="oper"/>
    <input type="hidden" id="dsScope" name="dsScope"/>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">角色名称：</label>
      <div class="col-sm-8">
        <input class="form-control" type="text" name="roleName" id="roleName" field="roleName" maxlength="30">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">角色标识：</label>
      <div class="col-sm-8">
        <input class="form-control" type="text" name="roleCode" id="roleCode" field="roleCode" maxlength="30">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">角色描述：</label>
      <div class="col-sm-8">
        <textarea class="form-control" name="roleDesc" rows="3" maxlength="30" field="roleDesc"></textarea>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">数据范围：</label>
      <div class="col-sm-8">
        <select id="dsType" name="dsType" field="dsType" class="form-control m-b">
          <option value="0">全部</option>
          <option value="2">本级及子级</option>
          <option value="3">本级</option>
          <option value="1">自定义</option>
        </select>
        <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 特殊情况下，设置为“自定义数据权限”</span>
      </div>
    </div>
    <div class="form-group" id="authDataScope">
      <label class="col-sm-3 control-label">数据权限</label>
      <div class="col-sm-8">
        <div id="deptTrees" class="ztree"></div>
      </div>
    </div>
  </form>
</div>
<script src="/static/include/js/footer.js"></script>
<script src="/static/ajax/libs/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js"></script>
<script src="/static/pages/sysadm/role/roleEdit.js"></script>
</body>
</html>
